/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Intel.java
 *
 * Created on 01-jun-2009, 18:08:40
 */

/**
 *
 * @author Azucena
 */
public class Intel extends javax.swing.JFrame {
    private boolean ensamblado=false;

    /** Creates new form Intel */
    public Intel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jLabel18 = new javax.swing.JLabel();
        jButton3 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("REGISTROS_PANEL"); // NOI18N

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {"0000", null, null, null, null, null, null},
                {"0001", null, null, null, null, null, null},
                {"0002", null, null, null, null, null, null},
                {"0003", null, null, null, null, null, null},
                {"0004", null, null, null, null, null, null},
                {"0005", null, null, null, null, null, null},
                {"0006", null, null, null, null, null, null},
                {"0007", null, null, null, null, null, null},
                {"0008", null, null, null, null, null, null},
                {"0009", null, null, null, null, null, null},
                {"0010", null, null, null, null, null, null},
                {"0011", null, null, null, null, null, null},
                {"0012", null, null, null, null, null, null},
                {"0013", null, null, null, null, null, null},
                {"0014", null, null, null, null, null, null},
                {"0015", null, null, null, null, null, null},
                {"0016", null, null, null, null, null, null},
                {"0017", null, null, null, null, null, null},
                {"0018", null, null, null, null, null, null},
                {"0019", null, null, null, null, null, null},
                {"0020", null, null, null, null, null, null},
                {"0021", null, null, null, null, null, null},
                {"0022", null, null, null, null, null, null},
                {"0023", null, null, null, null, null, null},
                {"0024", null, null, null, null, null, null},
                {"0025", null, null, null, null, null, null},
                {"0026", null, null, null, null, null, null},
                {"0027", "", null, null, null, null, null},
                {"0028", null, null, null, null, null, null},
                {"0029", null, null, null, null, null, null},
                {"0030", null, null, null, null, null, null},
                {"0031", null, null, null, null, null, null},
                {"0032", null, null, null, null, null, null},
                {"0033", null, null, null, null, null, null},
                {"0034", null, null, null, null, null, null},
                {"0035", null, null, null, null, null, null},
                {"0036", null, null, null, null, null, null},
                {"0037", null, null, null, null, null, null},
                {"0038", null, null, null, null, null, null},
                {"0039", null, null, null, null, null, null},
                {"0040", null, null, null, null, null, null},
                {"0041", null, null, null, null, null, null},
                {"0042", null, null, null, null, null, null},
                {"0043", null, null, null, null, null, null},
                {"0044", null, null, null, null, null, null},
                {"0045", null, null, null, null, null, null},
                {"0046", null, null, null, null, null, null},
                {"0047", null, null, null, null, null, null},
                {"0048", null, null, null, null, null, null},
                {"0049", null, null, null, null, null, null},
                {"0050", null, null, null, null, null, null},
                {"0051", null, null, null, null, null, null},
                {"0052", null, null, null, null, null, null},
                {"0053", null, null, null, null, null, null},
                {"0054", null, null, null, null, null, null},
                {"0055", null, null, null, null, null, null},
                {"0056", null, null, null, null, null, null},
                {"0057", null, null, null, null, null, null},
                {"0058", null, null, null, null, null, null},
                {"0059", null, null, null, null, null, null},
                {"0060", null, null, null, null, null, null},
                {"0061", null, null, null, null, null, null},
                {"0062", null, null, null, null, null, null},
                {"0063", null, null, null, null, null, null},
                {"0064", null, null, null, null, null, null},
                {"0065", null, null, null, null, null, null},
                {"0066", null, null, null, null, null, null},
                {"0067", null, null, null, null, null, null},
                {"0068", null, null, null, null, null, null},
                {"0069", null, null, null, null, null, null},
                {"0070", null, null, null, null, null, null},
                {"0071", null, null, null, null, null, null},
                {"0072", null, null, null, null, null, null},
                {"0073", null, null, null, null, null, null},
                {"0074", null, null, null, null, null, null},
                {"0075", null, null, null, null, null, null},
                {"0076", null, null, null, null, null, null},
                {"0077", null, null, null, null, null, null},
                {"0078", null, null, null, null, null, null},
                {"0079", null, null, null, null, null, null},
                {"0080", null, null, null, null, null, null},
                {"0081", null, null, null, null, null, null},
                {"0082", null, null, null, null, null, null},
                {"0083", null, null, null, null, null, null},
                {"0084", null, null, null, null, null, null},
                {"0085", null, null, null, null, null, null},
                {"0086", null, null, null, null, null, null},
                {"0087", null, null, null, null, null, null},
                {"0088", null, null, null, null, null, null},
                {"0089", null, null, null, null, null, null},
                {"0090", null, null, null, null, null, null},
                {"0091", null, null, null, null, null, null},
                {"0092", null, null, null, null, null, null},
                {"0093", null, null, null, null, null, null},
                {"0094", null, null, null, null, null, null},
                {"0095", null, null, null, null, null, null},
                {"0096", null, null, null, null, null, null},
                {"0097", null, null, null, null, null, null},
                {"0098", null, null, null, null, null, null},
                {"0099", null, null, null, null, null, null}
            },
            new String [] {
                "Localidad", "Etiqueta", "Instrucción", "Destino", "Fuente 1", "Fuente 2", "Comentario"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, true, true, true, true, true, true
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTable1.setColumnSelectionAllowed(true);
        jScrollPane1.setViewportView(jTable1);
        jTable1.getColumnModel().getSelectionModel().setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jTable1.getColumnModel().getColumn(0).setResizable(false);
        jTable1.getColumnModel().getColumn(1).setResizable(false);
        jTable1.getColumnModel().getColumn(2).setResizable(false);
        jTable1.getColumnModel().getColumn(3).setResizable(false);
        jTable1.getColumnModel().getColumn(4).setResizable(false);
        jTable1.getColumnModel().getColumn(5).setResizable(false);
        jTable1.getColumnModel().getColumn(6).setResizable(false);
        jTable1.getColumnModel().getColumn(6).setPreferredWidth(250);

        jPanel1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabel1.setText("AX");
        jLabel1.setName("AX_LABEL"); // NOI18N

        jLabel2.setText("BX");
        jLabel2.setName("BX_LABEL"); // NOI18N

        jLabel3.setText("CX");
        jLabel3.setName("CX_LABEL"); // NOI18N

        jLabel4.setText("DX");
        jLabel4.setName("DX_LABEL"); // NOI18N

        jLabel5.setText("PARIDAD");
        jLabel5.setName("PARIDAD_LABEL"); // NOI18N

        jLabel6.setText("SIGNO");
        jLabel6.setName("SIGNO_LABEL"); // NOI18N

        jLabel7.setText("IP");
        jLabel7.setName("IP_LABEL"); // NOI18N

        jLabel8.setText("IR");
        jLabel8.setName("IR_LABEL"); // NOI18N

        jLabel9.setBackground(new java.awt.Color(255, 255, 255));
        jLabel9.setText(".");
        jLabel9.setName("AX"); // NOI18N

        jLabel10.setText(".");
        jLabel10.setName("BX"); // NOI18N

        jLabel11.setText(".");
        jLabel11.setName("CX"); // NOI18N

        jLabel12.setText(".");
        jLabel12.setName("DX"); // NOI18N

        jLabel13.setText(".");
        jLabel13.setName("PARIDAD"); // NOI18N

        jLabel14.setText(".");
        jLabel14.setName("SIGNO"); // NOI18N

        jLabel15.setText(".");
        jLabel15.setName("IP"); // NOI18N

        jLabel16.setText(".");
        jLabel16.setName("IR"); // NOI18N

        jLabel17.setFont(new java.awt.Font("Arial Unicode MS", 1, 14));
        jLabel17.setText("REGISTROS");
        jLabel17.setName("REGISTROS_LABEL"); // NOI18N

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel13))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 31, Short.MAX_VALUE)
                        .addComponent(jLabel14))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 53, Short.MAX_VALUE)
                        .addComponent(jLabel15))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel8)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 52, Short.MAX_VALUE)
                        .addComponent(jLabel16)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addComponent(jLabel4)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel12))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                            .addComponent(jLabel3)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel11))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel1)
                                .addComponent(jLabel2))
                            .addGap(49, 49, 49)
                            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(jLabel9)
                                .addComponent(jLabel10)))))
                .addGap(156, 156, 156))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(52, 52, 52)
                .addComponent(jLabel17)
                .addContainerGap(91, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(20, Short.MAX_VALUE)
                .addComponent(jLabel17)
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jLabel9))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(jLabel10))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(jLabel11))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel4)
                        .addGap(18, 18, 18)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel5)
                            .addComponent(jLabel13))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel6)
                            .addComponent(jLabel14))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel7)
                            .addComponent(jLabel15))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel8)
                            .addComponent(jLabel16)))
                    .addComponent(jLabel12))
                .addContainerGap())
        );

        jPanel2.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPanel2.setName("CORRIDAS_PANEL"); // NOI18N

        jButton1.setText("PASO A PASO");
        jButton1.setName("PASOAPASO_BUTTON"); // NOI18N
        jButton1.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jButton1StateChanged(evt);
            }
        });
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButton2.setText("CONTINUA");
        jButton2.setName("CONTINUA_BUTTON"); // NOI18N
        jButton2.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jButton2StateChanged(evt);
            }
        });
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        jButton2.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jButton2FocusGained(evt);
            }
        });

        jLabel18.setText("EJECUCION");
        jLabel18.setName("EJECUCION_LABEL"); // NOI18N

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(19, 19, 19)
                        .addComponent(jButton1)
                        .addGap(18, 18, 18)
                        .addComponent(jButton2))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(86, 86, 86)
                        .addComponent(jLabel18)))
                .addContainerGap(12, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addComponent(jLabel18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 17, Short.MAX_VALUE)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton1)
                    .addComponent(jButton2))
                .addContainerGap())
        );

        jButton3.setIcon(new javax.swing.ImageIcon("C:\\Documents and Settings\\Azucena\\Mis documentos\\Mis imágenes\\Para paginas\\iciçonos\\Flechas\\nextover.jpg")); // NOI18N
        jButton3.setText("Ensamblar");
        jButton3.setName("Ensamblar_button"); // NOI18N
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(75, 75, 75)
                        .addComponent(jButton3)))
                .addGap(18, 18, 18)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 662, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(99, 99, 99)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(30, 30, 30)
                .addComponent(jButton3)
                .addContainerGap(101, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(119, Short.MAX_VALUE)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 409, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(62, 62, 62))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
      // TODO add your handling code here:
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed

        ensamblado=true;
        int lineaHalt=101;
        String[][] TablaSimbolos;

        for(int i=0; i<100; i++){

            if(jTable1.getValueAt(i,2)==null);
            else{
                String eti = jTable1.getValueAt(i,2).toString();
                if(eti.equals("HLT")){
                    lineaHalt=i;
                }
            }
        }
        
        System.out.println("linea: " + lineaHalt);
        if(lineaHalt==101){
            System.out.println("Falta HALT");
            ensamblado = false;
        }

        //CORRIDA 1
        if(ensamblado==true){
            TablaSimbolos = new String [(lineaHalt+1)][2]; //creacion de tabla de Simbolos
            int x=0;
            for (int i=0; i<= lineaHalt; i++){

                if (jTable1.getValueAt(i, 1) == null);

                else{
                    TablaSimbolos[x][0]= jTable1.getValueAt(i,1).toString();
                    TablaSimbolos[x][1]= jTable1.getValueAt(i,0).toString();

                    System.out.println("tablasimbolos " + TablaSimbolos[x][0]+ " " + TablaSimbolos[x][1]);
                    x++;
                }
            }
        }


    // TODO add your handling code here:
    }//GEN-LAST:event_jButton3ActionPerformed

    private void jButton1StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jButton1StateChanged
          boolean ensamblado = false;
if (ensamblado==false)
{     jButton1.setEnabled(false);
}
else
{     jButton1.setEnabled(true);
}// TODO add your handling code here:
    }//GEN-LAST:event_jButton1StateChanged

    private void jButton2FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jButton2FocusGained
        // TODO add your handling code here:
    }//GEN-LAST:event_jButton2FocusGained

    private void jButton2StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jButton2StateChanged
        boolean ensamblado = false;
if (ensamblado==false)
{     jButton2.setEnabled(false);
}         // TODO add your handling code here:
    }//GEN-LAST:event_jButton2StateChanged

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Intel().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    // End of variables declaration//GEN-END:variables

}
